import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import './index.css'
import { HTML5Backend } from 'react-dnd-html5-backend'// 导入HTML5拖放后端实现
import { DndProvider } from 'react-dnd'
import 'antd/dist/reset.css' // 引入 Ant Design 样式

ReactDOM.createRoot(document.getElementById('root')!).render(
    // 使用DndProvider包装应用，启用拖放功能
    <DndProvider backend={HTML5Backend}>
        <App />
    </DndProvider>
)
